﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebApplication1.Controllers.Demain;

namespace WebApplication1.Controllers
{
    public class AdminDb:DbContext
    {
        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            optionsBuilder.UseSqlServer("server=.;database=AdminDb0001;uid=sa;pwd=123;");
        }

        public DbSet<Clbum> Clbums { get; set; }
        public DbSet<Student> Students { get; set; }
    }
}
